interface GetType {
	(obj: any): string;
}

const getType: GetType = function (obj) {
	return Object.prototype.toString.call(obj).slice(8, -1);
};
export default getType;
